package com.may.one;

import java.util.concurrent.CountDownLatch;

public class NetworkHealthChecker extends BaseHealthChecker{

	public NetworkHealthChecker(CountDownLatch countDownLatch) {
		super("Network Service", countDownLatch);
	}

	public void verifyService() {
	        System.out.println("Checking " + this.getServiceName());
	        try
	        {
	            Thread.sleep(7000);
	        }
	        catch (InterruptedException e)
	        {
	            e.printStackTrace();
	        }
	        System.out.println(this.getServiceName() + " is UP");
		
	}

}
